package slerp;
import java.io.Serializable;
import org.lwjgl.opengl.GL11;
public class DColor implements Serializable {
    float r, g, b, a;
    public DColor(float red, float green, float blue, float alpha) {
        r = red;
        g = green;
        b = blue;
        a = alpha;
    }
    public void getColor() {
        GL11.glColor4f(r, g, b, a);
    }
    public void setColor(float red, float green, float blue, float alpha) {
        r = red;
        g = green;
        b = blue;
        a = alpha;
    }
}